package com.three.service;

import com.three.entity.Staff;
import com.three.entity.Stafftransfer;
import com.three.vo.R;
import com.three.vo.StaffInfoVo;
import com.three.vo.StafftransferDiaoVo;

public interface StaffInfoService {
    public R getStaffInfo(Integer currentPage, Integer pageSize, StaffInfoVo staffInfoVo);

    R checkStaffid(Integer staffid);

    R checkIdcard(String idcard);

    R checkPhone(String phone);

    //添加
    R addStaff(Staff staff);
    //修改
    R updateStaff(Staff staff);
    //修改回显数据
    R getStaffById(Integer id);

    //调动提交
    R mobilizestaff(StafftransferDiaoVo stafftransferDiaoVo);
    //离职
    R lizhi(Integer id);
    //冻结
    R freeze(Integer id);


    //查看查询员工审核表该员工的状态
    R selectStafftransferState(Integer staffid);
}
